
requirejs.config({
    baseUrl: '../www',
    paths: {
        app: 'js/app',
        ionic: u9.toU9URL('lib/ionic/js/ionic.bundle'),
        ngMessages: 'lib/angular-messages'
    },
    shim: {
        ngMessages: {
            deps: ['ionic']
        }
    }
});

// Start the main app logic.
requirejs(['app'], function () {
    angular.element(document).ready(function() {
        angular.bootstrap(document, ['SaleRanking']);
    });
});